
/**
 * @brief    Flexible connection for FRF components for use in FBA process
 *
 * @version  0.1
 * @author   wuxingchuang
 * @date     2024.11.21
 *          _
 *      ___| |__   ___ _ __   __ _  ___  _ __   __ _
 *     / __| '_ \ / _ \ '_ \ / _` |/ _ \| '_ \ / _` |
 *     \__ \ | | |  __/ | | | (_| | (_) | | | | (_| |
 *     |___/_| |_|\___|_| |_|\__, |\___/|_| |_|\__, |
 *                           |___/             |___/
 * @copyright (c) 2024 by 神工仿真, All Rights Reserved.
 */
#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"
#include "DataStructure/Common/SetBase.h"

SG_DATASTRUCTURE_FEM_NAMESPACE_OPEN

struct FRFFLEXData : public SetBase
{
    SG::DataStructure::Common::I64  m_C           = 0;      ///<
    SG::DataStructure::Common::Id   m_COMPID1     = 0;      ///<
    char                            m_COMPNAM1[8] = { 0 };  ///<
    SG::DataStructure::Common::Id   m_PNTID1      = 0;      ///<
    SG::DataStructure::Common::Id   m_COMPID2     = 0;      ///<
    char                            m_COMPNAM2[8] = { 0 };  ///<
    SG::DataStructure::Common::Id   m_PNTID2      = 0;      ///<
    SG::DataStructure::Common::Real m_KVALUE      = 0.0;    ///<
    SG::DataStructure::Common::Id   m_KTABID      = 0;      ///<
    SG::DataStructure::Common::Real m_BVALUE      = 0.0;    ///<
    SG::DataStructure::Common::Id   m_BTABID      = 0;      ///<
    SG::DataStructure::Common::Real m_GEVALUE     = 0.0;    ///<
    SG::DataStructure::Common::Id   m_GETABID     = 0;      ///<
    SG::DataStructure::Common::Id   m_domainId    = 0;      ///<
};

///< @brief 判断数据是否相等
DECLSPEC bool operator== (const FRFFLEXData& val1, const FRFFLEXData& val2);

SG_DATASTRUCTURE_FEM_NAMESPACE_CLOSE
